.store-container {
  min-height: 100vh;
  background: #f5f5f5;

  .custom-nav {
    background: #fff;
    color: #333;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);

    .nav-content {
      display: flex;
      align-items: center;
      height: 88rpx;
      padding: 0 20rpx;

      .nav-back {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10rpx 20rpx 10rpx 10rpx;
        margin-right: 10rpx;
        
        &:active {
          opacity: 0.5;
        }
        
        .back-icon {
          width: 48rpx;
          height: 48rpx;
        }
      }

      .nav-title {
        flex: 1;
        text-align: center;
        font-size: 36rpx;
        font-weight: 600;
        color: #333;
        line-height: 88rpx;
      }

      .nav-placeholder {
        width: 68rpx;
      }
    }
  }

  .main-content {
    height: calc(100vh - 88rpx);
  padding-bottom: 40rpx;
}

  // 头像区域
  .avatar-section {
    background: #fff;
    padding: 60rpx 0 40rpx;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;

    .avatar-wrapper {
      position: relative;
      width: 160rpx;
      height: 160rpx;
      margin-bottom: 20rpx;

      .avatar {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 6rpx solid #f0f0f0;
      }

      .avatar-mask {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s;

        .camera-icon {
          font-size: 48rpx;
          margin-bottom: 8rpx;
          display: block;
        }

        .upload-text {
          font-size: 20rpx;
          color: #fff;
        }
      }

      &:active .avatar-mask {
        opacity: 1;
      }
    }

    .merchant-name {
      font-size: 36rpx;
      font-weight: 600;
      margin-bottom: 12rpx;
      color: #333;
    }

    .merchant-id {
      font-size: 24rpx;
      color: #999;
    }
  }

  // 营业状态卡片
  .status-card {
    background: #fff;
    margin: 20rpx;
    padding: 30rpx;
    border-radius: 16rpx;
    box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.08);

    .status-header {
      display: flex;
      justify-content: space-between;
      align-items: center;

      .status-info {
        flex: 1;

        .store-name {
          display: block;
          font-size: 32rpx;
          font-weight: 600;
          color: #333;
          margin-bottom: 12rpx;
        }

        .status-text {
          display: inline-block;
          font-size: 24rpx;
          padding: 6rpx 16rpx;
          border-radius: 16rpx;

          &.status-open {
            background: #e8f5e8;
            color: #5cb85c;
          }

          &.status-break {
            background: #fff3e0;
            color: #ff9800;
          }

          &.status-closed {
            background: #ffebee;
            color: #f44336;
          }
        }
      }

    }

    .audit-status-row {
      margin-top: 24rpx;
      padding-top: 24rpx;
      border-top: 1rpx solid #f0f0f0;
      font-size: 28rpx;

      .audit-label {
        color: #666;
      }

      .audit-value {
        color: #ff9800;

        &.approved {
          color: #5cb85c;
        }
      }
    }
  }

  // 区块样式
  .section {
    background: #fff;
    margin: 20rpx 0;
    padding: 30rpx;

    .section-title {
      font-size: 32rpx;
      font-weight: 600;
      color: #333;
      margin-bottom: 30rpx;
      padding-left: 20rpx;
      border-left: 6rpx solid #5cb85c;
    }

    .info-list {
      .info-item {
        display: flex;
        align-items: center;
        padding: 24rpx 0;
        border-bottom: 1rpx solid #f5f5f5;

        &:last-child {
          border-bottom: none;
        }

        .label {
          font-size: 28rpx;
          color: #666;
          width: 180rpx;
          flex-shrink: 0;
        }

        .value {
          flex: 1;
          font-size: 28rpx;
          color: #333;
          text-align: right;

          &.address {
            max-width: 400rpx;
            word-break: break-all;
          }
        }

        .value-with-action {
          flex: 1;
          display: flex;
          align-items: center;
          justify-content: flex-end;

          .value {
            flex: 1;
            text-align: right;
            margin-right: 20rpx;
          }

          .action-btn {
            display: flex;
            align-items: center;
            padding: 8rpx 16rpx;
            background: #f0f7ff;
            border-radius: 16rpx;
            flex-shrink: 0;

            .location-icon {
              font-size: 24rpx;
              margin-right: 4rpx;
            }

            .action-text {
              font-size: 24rpx;
              color: #5cb85c;
            }
          }
        }

        .rating-value {
          display: flex;
          align-items: center;

          .rating-num {
            font-size: 32rpx;
            font-weight: 600;
            color: #ff9800;
            margin-right: 6rpx;
          }

          .rating-star {
            font-size: 28rpx;
            color: #ff9800;
          }
        }
      }
    }

    .license-list {
      .license-item {
        margin-bottom: 30rpx;

        &:last-child {
          margin-bottom: 0;
        }

        .license-label {
          display: block;
          font-size: 28rpx;
          color: #666;
          margin-bottom: 16rpx;
        }

        .license-info {
          .license-img {
            width: 100%;
            height: 350rpx;
            border-radius: 12rpx;
            background: #f5f5f5;
            margin-bottom: 16rpx;

            &:last-child {
              margin-bottom: 0;
            }
          }

          .license-number {
            font-size: 28rpx;
            color: #333;
          }
        }
      }
    }

    .setting-list {
      .setting-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 30rpx 0;
        border-bottom: 1rpx solid #f5f5f5;

        &:last-child {
          border-bottom: none;
        }

        .setting-info {
          flex: 1;

          .setting-label {
            display: block;
            font-size: 30rpx;
            color: #333;
            margin-bottom: 8rpx;
          }

          .setting-desc {
            font-size: 24rpx;
            color: #999;
          }
        }

        .arrow-right {
          width: 24rpx;
          height: 24rpx;
          opacity: 0.3;
        }
      }
    }
  }

  // 底部按钮区域
  .bottom-btn-section {
    padding: 40rpx 30rpx;
    background: #fff;
    margin-top: 20rpx;

    .edit-btn {
      width: 100%;
      background: #5cb85c;
      color: #fff;
      border-radius: 25rpx;
      font-size: 32rpx;
      padding: 28rpx;
      border: none;

      &::after {
        border: none;
      }

      &:active {
        opacity: 0.8;
      }
    }
  }

  // 登录提示
.login-prompt {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60rpx;
  
  .login-card {
    background: white;
    border-radius: 20rpx;
    padding: 80rpx 60rpx;
    text-align: center;
    box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500rpx;
    
    .login-icon {
      width: 120rpx;
      height: 120rpx;
      margin-bottom: 40rpx;
    }
    
    .login-title {
      display: block;
      font-size: 36rpx;
      font-weight: bold;
      color: #333;
      margin-bottom: 20rpx;
    }
    
    .login-desc {
      display: block;
      font-size: 28rpx;
      color: #999;
      margin-bottom: 60rpx;
    }
    
    .login-btn {
      background: #5cb85c;
      color: white;
      border-radius: 50rpx;
      font-size: 32rpx;
      padding: 24rpx 80rpx;
      border: none;
      
      &::after {
        border: none;
      }
    }
  }
}

  // 营业时间弹窗
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40rpx;
}

.modal-content {
  background: white;
  border-radius: 20rpx;
  width: 100%;
  max-width: 600rpx;
  overflow: hidden;
  
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30rpx;
    border-bottom: 1rpx solid #f0f0f0;
    
    .modal-title {
      font-size: 32rpx;
      font-weight: bold;
      color: #333;
    }
    
    .modal-close {
      font-size: 48rpx;
      color: #999;
      line-height: 1;
      padding: 10rpx;
    }
  }
  
  .modal-body {
    padding: 30rpx;
    max-height: 60vh;
    overflow-y: auto;
    
    .setting-item-form {
      background: #fff;
      border-radius: 12rpx;
      padding: 30rpx;
      margin-bottom: 20rpx;
      border: 1rpx solid #f0f0f0;

      &:last-child {
        margin-bottom: 0;
      }

      .item-label-row {
        margin-bottom: 20rpx;

        .item-label {
        display: block;
          font-size: 30rpx;
        font-weight: 600;
        color: #333;
          margin-bottom: 8rpx;
        }

        .item-desc {
          display: block;
          font-size: 24rpx;
          color: #999;
          line-height: 1.5;
        }
      }

      .item-input-row {
        display: flex;
        align-items: center;
        background: #f8f9fa;
        border-radius: 8rpx;
        padding: 0 20rpx;
        min-height: 80rpx;

        .currency-symbol {
          font-size: 36rpx;
          color: #666;
          margin-right: 10rpx;
          font-weight: 500;
        }

        .item-input {
          flex: 1;
          font-size: 36rpx;
          color: #333;
          font-weight: 600;
          border: none;
          background: transparent;
          height: 80rpx;
          line-height: 80rpx;
        }

        .unit-suffix {
          font-size: 28rpx;
          color: #999;
          margin-left: 10rpx;
        }
      }
    }
    
    .time-setting {
      .time-item {
        margin-bottom: 30rpx;
        
        .time-label {
          display: block;
          font-size: 28rpx;
          color: #666;
          margin-bottom: 16rpx;
        }
        
        .time-picker-group {
          display: flex;
          align-items: center;
          
          .time-picker {
            flex: 1;
              padding: 20rpx;
              background: #f5f5f5;
              border-radius: 8rpx;
            text-align: center;
              font-size: 28rpx;
              color: #333;
          }
          
          .time-separator {
              padding: 0 20rpx;
              font-size: 24rpx;
              color: #999;
          }
        }
      }
      
      .time-option {
        font-size: 28rpx;
        color: #666;
      }
    }
  }
  
  .modal-footer {
    display: flex;
    gap: 20rpx;
    padding: 30rpx;
    border-top: 1rpx solid #f0f0f0;
    
    .cancel-btn {
      flex: 1;
      padding: 25rpx;
      background: #f5f5f5;
      color: #666;
      border-radius: 12rpx;
      font-size: 30rpx;
      border: none;
      
      &::after {
        border: none;
      }
    }
    
    .confirm-btn {
      flex: 1;
      padding: 25rpx;
      background: #5cb85c;
      color: white;
      border-radius: 12rpx;
      font-size: 30rpx;
      border: none;
      
      &::after {
        border: none;
      }
      
      &:disabled {
        background: #ccc;
        }
      }
    }
  }
}
